<div class="file-preview" data-uploader-id="{{ $index }}">
    <div class="file-img">
        @if($v['is_image'])
            <img src="{{ asset($v['src']) }}">
        @else
            <span>{{ $v['ext'] }}</span>
        @endif
    </div>
    <?php
    $unique_id = $name . $index;
    $pick_id = "upload-{$unique_id}";
    $progress_filter = "progress-{$unique_id}";
    ?>
    <div class="file-actions">
        <div class="action other view"></div>
        <div class="action change" id="{{ $pick_id }}">更换</div>
        <div class="cancel"><i class="fas fa-times"></i></div>
    </div>
    <div class="file-progress">
        <div class="layui-progress layui-progress-big" lay-filter="{{ $progress_filter }}">
            <div class="layui-progress-bar layui-bg-green" lay-percent="100%"></div>
        </div>
        <div class="filename layui-elip" title="{{ $v['src'] }}">{{ $v['src'] }}</div>
    </div>
    <input hidden readonly name="{{ $fieldName }}" value="{{ $v['value'] }}">
</div>